package java06;
import java.util.*;
public class HashMapTest05 {
    public static void main(String[] args){
        Map map = new HashMap();
        map.put("1","Jack");
        map.put("2","Rose");
        map.put("3","Luck");
        System.out.println(map);
        Collection values = map.values();//获取Map集合中value值集合对象
        //遍历Map集合所有值对象V
        values.forEach(v ->System.out.println(v));
    }
}
